package com.huqing.icu.rentreport.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huqing.icu.enums.DeleteStatusEnum;
import com.huqing.icu.enums.OpenStatusConstants;
import com.huqing.icu.rentreport.enums.ReportRecordBusTypeEnum;
import com.huqing.icu.rentreport.enums.ReportTypeApplySceneEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 举报类型配置表
 *
 * @author huqing
 * @date 2024-11-18 22:32
 */
@TableName(value = "report_type_config")
@Data
public class ReportTypeConfig {

    @Schema(name = "id", description = "主键ID")
    private Long id;

    /**
     * @see ReportRecordBusTypeEnum
     */
    @Schema(name = "busType", description = "业务类型")
    private Integer busType;

    /**
     * @see ReportTypeApplySceneEnum
     */
    @Schema(name = "applyScene", description = "适用场景")
    private Integer applyScene;

    @Schema(name = "name", description = "举报类型名称")
    private String name;


    @Schema(name = "serialNum", description = "顺位号")
    private Integer serialNum;

    /**
     * @see OpenStatusConstants
     */
    @Schema(name = "createBy", description = "状态 0-关闭 1-开启")
    private Integer status;

    /**
     * @see DeleteStatusEnum
     */
    @Schema(name = "createBy", description = "是否被删除 0-否 1-是")
    private Integer isDeleted;

    @Schema(name = "createBy", description = "创建人ID")
    private Long createBy;

    @Schema(name = "modifyBy", description = "修改人ID")
    private Long modifyBy;

    @Schema(name = "createTime", description = "创建时间")
    private Timestamp createTime;

    @Schema(name = "modifyTime", description = "修改时间")
    private Timestamp modifyTime;
}
